<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://www.bstek.com/dorado" prefix="d" %>
<%@ page import="com.bstek.dorado.i18n.ResourceManager" %>
<%@ page import="com.bstek.dorado.common.DoradoContext" %>
<html>
<head>
<title></title>
</head>
<body>
  <d:View config="com.sibco.client.organization.comOrg">
  <d:Layout type="border">

    <d:Pane position="center" autoScroll="true" >
    <d:SplitPanel id="splitpanel1" orientation="horizontal" width="100%" height="100%" position="25%" showButtons="true">
       <d:DataTree id="dept" />            
    <d:Splitter />        
            
      <d:TabSet id="tabsetDetail">
        <d:Tab name="deptTab" ><br>
         <d:Span id="COM_ORG_ADMIN">
           <d:Button id="addSameLevel" /><d:Button id="addNextLevel" /><d:Button id="deleteNode" />
         </d:Span>
         <d:AutoForm id="orgForm" />
         <d:Span id="COM_ORG_ADMIN">
             <d:Button id="buttonAdd" />
         </d:Span>
        </d:Tab>
        <d:Tab name="employeeTab">          
          <d:Layout type="vflow">
            <d:Pane>
               <d:AutoForm id="formEmpCondition" />
            </d:Pane>                  
            <d:Pane>
                 <d:Button id="buttonViewEmp" />&nbsp;<d:Button id="setRoleBtn" />&nbsp;<d:Button id="buttonTransEmpSelected" />&nbsp;<d:Button id="buttonLockUser" />&nbsp;<d:Button id="buttonUnLockUser" />&nbsp;<d:Button id="buttonExpEmp" />
            </d:Pane>
            <d:Pane>
               <d:DataTable id="tableOrgEmps" />               
            </d:Pane>
            <d:Pane align='right' >
              <d:PagePilot id="pagepilot1" />
            </d:Pane>
          </d:Layout>
        </d:Tab>
      </d:TabSet>
      </d:SplitPanel>
    </d:Pane>
        <d:Pane position="bottom" align ="right" height="50"  padding="2" style="background-color: #f0f0f0">
    </d:Pane>
  </d:Layout>  
  <%
 DoradoContext context = DoradoContext.getContext();
 String title1=ResourceManager.getInstance().getString(context,"global","transfer_emp");
%>
  <d:SubWindow id="subwindowSelectOrg" title="<%=title1%>" width="450" height="350" draggable="true" resizable="true" status="" showMinimizeButton="true" showMaximizeButton="true" showCloseButton="true" top="440" left="200">
        <d:Layout type="vflow">
          <d:Pane>             
             <d:TreeGrid id="treegridOrg" />
          </d:Pane>
          <d:Pane>
             <d:Button id="buttonTransEmpConfirm" />
          </d:Pane>          
        </d:Layout>
  </d:SubWindow>
  </d:View>
</body>
</html>
